import request from '@/utils/request'

//主机-系统详情
export function getSystem(query) {
    return request({
        url: '/agentMonitor/serverDetail',
        method: 'get',
        params: query
    })
}
//主机-图表详情
export function getChartHost(query) {
    return request({
        url: '/agentMonitor/chart',
        method: 'get',
        params: query
    })
}

//主机-画像详情
export function getPortrpait(query) {
    return request({
        url: '/agentMonitor/hostDraw',
        method: 'get',
        params: query
    })
}

//进程-图表详情
export function getChartProcess(query) {
    return request({
        url: '/monitorProcess/chart',
        method: 'get',
        params: query
    })
}
